package com.rfid.project.model;

import javax.persistence.*;

import biz.core.KeyValue;
import biz.util.KeyValueUtil;
import biz.util.StringUtil;
import biz.core.IdEntity;

import java.util.Date;
import java.util.ArrayList;
import java.util.List;

@Entity
public class PersonWeeklyReport extends IdEntity {

	// 开始日期
	private Date beginDate;

	// 结束日期
	private Date endDate;

	// 工作内容
	private String workDescription;

	// 工作计划
	private String workPlan;

	// 填写日期
	private Date createTime;

	// 填报人
	@ManyToOne
	@JoinColumn(name = "PersonID")
	private People person;

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getWorkDescription() {
		return workDescription;
	}

	public void setWorkDescription(String workDescription) {
		this.workDescription = workDescription;
	}

	public String getWorkPlan() {
		return workPlan;
	}

	public void setWorkPlan(String workPlan) {
		this.workPlan = workPlan;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public People getPerson() {
		return person;
	}

	public void setPerson(People person) {
		this.person = person;
	}

}
